<?php
/**
 * Created by PhpStorm.
 * User: ljc
 * Date: 2018/7/29
 * Time: 13:36
 */
//注册自动加载函数，因为__autoload函数已经被废弃了
spl_autoload_register('myFunction');
function myFunction($class){
	include str_replace ('\\','/',$class).'.php';
}
//实例化并调用handle函数
(new \app\Entry())->handle();
